package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.TradingPoolAccountTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/11/1 14:24
 */
@Data
public class TradingPoolAccountRecordVO implements Serializable {

    private static final long serialVersionUID = 1248539189753245607L;

    @ApiModelProperty("时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operationTime;

    @ApiModelProperty("来源")
    private TradingPoolAccountTypeEnum source;

    @ApiModelProperty("来源名称")
    private String sourceName;

    @ApiModelProperty("受益方")
    private TradingPoolAccountTypeEnum beneficiary;

    @ApiModelProperty("受益方名称")
    private String beneficiaryName;

    @ApiModelProperty("变化前金额")
    private BigDecimal beforeChange;

    @ApiModelProperty("变化前金额")
    private BigDecimal afterChange;

    @ApiModelProperty("发生金额")
    private BigDecimal quantity;

    @ApiModelProperty("是否增加")
    private Boolean isAdd;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("账号")
    private String account;

}
